<!-- 编辑区域 -->
<div class="lists">
    <!-- 搜索框及工具条 -->
    <div class="c-head-box">
        <form method="get" action="{:Url('start_photo_list')}">
            <ul>
                <li class="c-head-search">
                    <!-- 搜索条件 -->
                    <ul>
                        <li><span>App类型：</span>{:widget('common/Select/select',array('app_type','app_type',$app_type))}</li>
                    </ul>
                </li>
                <li class="c-head-button">
                    <!-- 操作按钮 -->
                    <div class="fr"><input type="submit" class="but_blue" value="搜索"></div>
                    <div class="fr"><a class="but_blue" href="{:Url('start_photo_add')}">增加首页轮播图片</a></div>
                </li>
            </ul>
        </form>
    </div>

    <!--用户列表-->
    <div class="lists-tab-cont">
        <div class="lists-table">
            <table class="pointer" cellpadding="0" cellspacing="0" border="0">
                <thead>
                    <tr>
                        <th class="tabSort-header"><a class="tabSort-header-inner"><p>App类型</p></a></th>
                        <th class="tabSort-header"><a class="tabSort-header-inner"><p>图片地址</p></a></th>
                        <th class="tabSort-header"><a class="tabSort-header-inner"><p>跳转地址</p></a></th>
                        <th class="tabSort-header"><a class="tabSort-header-inner"><p>排序</p></a></th>
                        <th class="tabSort-header"><a class="tabSort-header-inner"><p>备注</p></a></th>
                        <th class="tabSort-header"><a class="tabSort-header-inner"><p>操作</p></a></th>
                    </tr>
                </thead>
                <tbody>
                {foreach name="start_photo_list" item="info"}
                    <tr>
                        <td>{:widget('common/Color/color',array('app_type',$info['app_type']))}</td>
                        <td>{:widget('common/Images/img',array($info['start_photo_url']))}</td>
                        <td>{empty name="info['start_goto_url']"}--{else/}{$info['start_goto_url']}{/empty}</td>
                        <td>{$info['order_by']}</td>
                        <td>{$info['remark']}</td>
                        <td>
                            <a href="{:Url('start_photo_edit',array('start_photo_id'=>$info['start_photo_id']))}" class="blue">编辑</a>
                            {eq name="info['is_delete']" value="1"}
                            <a href="{:Url('start_photo_del',array('start_photo_id'=>$info['start_photo_id']))}" class="blue info">删除</a>
                            {else/}
                            <a href="{:Url('start_photo_reset',array('start_photo_id'=>$info['start_photo_id']))}" class="blue"><font color="red">还原</font></a>
                            {/eq}
                        </td>
                    </tr>
                {/foreach}
                </tbody>
            </table>
        </div>

        <!-- 翻页模板 -->
        <include file="Public:layout_page" />
    </div>
</div>
